<!-- saved from url=(0014)about:internet -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MultiPowUpload FAQ</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>
 <table width="100%" cellpadding="0" cellspacing="0">
        <tr>
            <td width="400">

                <span class="caption">MultiPowUpload </span><span class="yellow">3.1</span>
                <br /><span class="gray">FAQ</span>
            </td>
            <td>&nbsp;
                
            </td>
             <td align="char" width="200"><img src="world.jpg" align="middle" hspace="5" /><b><a target="_blank" href="http://www.element-it.com/multiple-file-upload/flash-uploader.aspx">Home
      page</a></b><br />
                          <img src="email.jpg" align="middle" hspace="5" /><b><a target="_blank" href="http://www.element-it.com/contacts.aspx">Contact
                            support</a></b> </td>
        </tr>
</table>
  
  <p class="topic"><b>MultiPowUpload FAQ (Frequently Asked Questions)</b>&nbsp;

<p>This section describe how to use MultiPowUpload control and answer on Frequently Asked Questions</p>
<p><a href="#wrongDomain">1. MultiPowUpload displays the message "This copy of MultiPowUpload software registered to another domain...". What to do?</a></p>
<p><a href="#includeApplet">2. How to include MultiPowUpload  on  a page</a></p>
<p><a href="#params">3. How to setup parameters </a></p>
<p><a href="#javaScript">4. How to use MultiPowUpload events and methods</a></p>
<p><a href="#register">5. How to register MultiPowUpload?</a></p>
<p><a href="#hideserial">6. How to hide my SerialNumber on a web page?</a></p>
<p><a href="#redirect">7. How to redirect users to another page when upload/download process is complete?</a></p>
<p><a href="#thumbnails">8. How to upload thumbnails?</a></p>
<p><a href="#custominfo">9. How to send additional information to server?</a></p>
<p>&nbsp;</p>
<p class="topicLeft" id="wrongDomain" name="wrongDomain">1. MultiPowUpload displays the message "This copy of MultiPowUpload software registered to another domain...". What to do?</p>
<blockquote>
  <p>
  Unfortunately, client-side control like Flash movie are defenseless from page source view and copying.<br> 
  Starting from version 3.0, MultiPowUpload includes domain name hash in the serial key.<br>
  You should enter your domain name during purchase.<br>

If you have a single domain license and change your domain, you should buy another license or pay domain change fee on the <a target="_blank" href="http://www.element-it.com/purchase.aspx"> purchase page</a> or upgrade the single domain license to the enterprise (unlimited domains) on the <a target="_blank" href="http://www.element-it.com/upgrade.aspx">upgrade page</a>.<br>
You can use MultiPowUpload on the tesing site/server for free. Close the alert window after it appears or remove the serial number from parameters to make MultiPowUpload work as trial.</p>
</blockquote>

<p class="topicLeft" id="includeApplet" name="includeApplet">2. How to include MultiPowUpload  on a page:</p>
<blockquote>
  <code>
  <ul>
  <li>
  <span class="style6">a. Usage of SWFObject. </span> 
  SWFObject is javaScript library that helps you to place Flash movies on a page easily. 
  Read more about SWFObject here: <span ><a href="http://code.google.com/p/swfobject/ "  target="_blank">http://code.google.com/p/swfobject/ </a> </span>
  <p><span class="style15">Put the following code on the page:</span></p>
  <p >&lt;!-- div element will be replaced with MultiPowUpload flash movie. --&gt; </p>
  <p >&lt;div id=&quot;MultiPowUpload_holder&quot;&gt;You need at least  version 10 of Flash player. Download the last version <br />
&lt;a target=&quot;_blank&quot; href=&quot;http://www.adobe.com/shockwave/download/alternates/&quot;&gt;here&lt;/a&gt;!<br />
&lt;/div&gt;</p>
  <p ><br />
  &lt;!-- SWFObject home page: http://code.google.com/p/swfobject/ --&gt;<br />
  &lt;script type=&quot;text/javascript&quot; src=&quot;Extra/swfobject.js&quot;&gt;&lt;/script&gt;<br />
  &lt;script type=&quot;text/javascript&quot;&gt;<br />
    var params = { <br />
    BGColor: &quot;#F8F6E6&quot;<br />
    };<br />
  <br />
    var attributes = { <br />
    &quot;id&quot;: &quot;MultiPowUpload&quot;, <br />
    &quot;name&quot;: &quot;MultiPowUpload&quot;<br />
    };<br />
  </p>
  <p >//Here MultiPowUpload parameters should be specified <br />
    var flashvars = {<br />
    &quot;uploadUrl&quot;: &quot;FileProcessingScripts/ASP.NET/CSharp/uploadfiles.aspx&quot;,<br />
  &quot;useExternalInterface&quot;: &quot;true&quot; <br />
    };  </p>
  <p > swfobject.embedSWF(&quot;ElementITMultiPowUpload3.1.swf&quot;, &quot;MultiPowUpload_holder&quot;, &quot;450&quot;, &quot;350&quot;, &quot;10.0.0&quot;, &quot;Extra/expressInstall.swf&quot;, flashvars, params, attributes);<br />
    &lt;/script&gt;</p>
  <p>&nbsp;</p>
  </li>
  <li>
  <p class="style6">b. Classic method with &lt;object&gt; and &lt;embed&gt; tags.</p>
  <p>	&lt;OBJECT id=&quot;<span >MultiPowUpload</span>&quot; codeBase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0&quot;<br />
width=&quot;450&quot; height=&quot;350&quot; classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; VIEWASTEXT&gt;<br />
&lt;!-- Replace symbols &quot; with the &amp;quot; at all parameters values and <br />
symbols &quot;&amp;&quot; with the &quot;%26&quot; in URL values or &amp;amp;  other values!<br />
The same parameters values should be set for EMBED object below. --&gt;<br />
&lt;PARAM NAME=&quot;FlashVars&quot; VALUE=&quot;uploadUrl=FileProcessingScripts/PHP/uploadfiles1.php&amp;maxFileCount=1&amp;httpErrorDescription_405=There is no such page on server&amp;httpErrorDescription_500=lufsielfb&amp;httpErrorMessage=&lt;center&gt;HTTP Error, '&lt;ERRORCODE&gt;' occurred. &lt;DESCRIPTION&gt; &lt;/center&gt;&quot;&gt;<br />
&lt;PARAM NAME=&quot;BGColor&quot; VALUE=&quot;#F8F6E6&quot;&gt;<br />
&lt;PARAM NAME=&quot;Movie&quot; VALUE=&quot;ElementITMultiPowUpload3.1.swf&quot;&gt;<br />
&lt;PARAM NAME=&quot;Src&quot; VALUE=&quot;ElementITMultiPowUpload3.1.swf&quot;&gt;<br />
&lt;PARAM NAME=&quot;WMode&quot; VALUE=&quot;Window&quot;&gt;<br />
&lt;PARAM NAME=&quot;Play&quot; VALUE=&quot;-1&quot;&gt;<br />
&lt;PARAM NAME=&quot;Loop&quot; VALUE=&quot;-1&quot;&gt;<br />
&lt;PARAM NAME=&quot;Quality&quot; VALUE=&quot;High&quot;&gt;<br />
&lt;PARAM NAME=&quot;SAlign&quot; VALUE=&quot;&quot;&gt;<br />
&lt;PARAM NAME=&quot;Menu&quot; VALUE=&quot;-1&quot;&gt;<br />
&lt;PARAM NAME=&quot;Base&quot; VALUE=&quot;&quot;&gt;<br />
&lt;PARAM NAME=&quot;AllowScriptAccess&quot; VALUE=&quot;always&quot;&gt;<br />
&lt;PARAM NAME=&quot;Scale&quot; VALUE=&quot;ShowAll&quot;&gt;<br />
&lt;PARAM NAME=&quot;DeviceFont&quot; VALUE=&quot;0&quot;&gt;<br />
&lt;PARAM NAME=&quot;EmbedMovie&quot; VALUE=&quot;0&quot;&gt; <br />
&lt;PARAM NAME=&quot;SWRemote&quot; VALUE=&quot;&quot;&gt;<br />
&lt;PARAM NAME=&quot;MovieData&quot; VALUE=&quot;&quot;&gt;<br />
&lt;PARAM NAME=&quot;SeamlessTabbing&quot; VALUE=&quot;1&quot;&gt;<br />
&lt;PARAM NAME=&quot;Profile&quot; VALUE=&quot;0&quot;&gt;<br />
&lt;PARAM NAME=&quot;ProfileAddress&quot; VALUE=&quot;&quot;&gt;<br />
&lt;PARAM NAME=&quot;ProfilePort&quot; VALUE=&quot;0&quot;&gt;<br />
<br />
&lt;!-- Embed for Netscape,Mozilla/FireFox browsers support. Flashvars parameters are the same.--&gt;<br />
&lt;!-- Replace the symbols &quot; with the &amp;quot; in all parameters values and <br />
symbols &quot;&amp;&quot; with the &quot;%26&quot; in URL values or &amp;amp;  other values! --&gt;<br />
&lt;embed bgcolor=&quot;#F8F6E6&quot; id=&quot;<span >MultiPowUpload</span>&quot; name=&quot;<span >MultiPowUpload</span>&quot; src=&quot;ElementITMultiPowUpload3.1.swf&quot; quality=&quot;high&quot; pluginspage=&quot;http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&quot;	type=&quot;application/x-shockwave-flash&quot; width=&quot;450&quot; height=&quot;350&quot; flashvars=&quot;uploadUrl=&quot;&gt;<br />
&lt;/embed&gt;<br />
&lt;/OBJECT&gt;<br />
  </p>
  <br />
  It is important to set both the name and id attributes in &lt;object&gt; and &lt;embed&gt; tags if you would like to use JavaScript methods and event handlers!
  <p class="style13"><code>All MultiPowUPload parameters should be specified inside flashvars attribute of &lt;object&gt; and &lt;embed&gt; tags. Delimiter is '</code><code>&amp;' symbol. </code><code>Replace symbols &quot; with the &amp;quot; at all parameters values and <br />
  symbols &quot;&amp;&quot; with the &quot;%26&quot; in URL values or &amp;amp; in other values!</code> </p>
  </li>
</ul>
</blockquote>

<p class="topicLeft" id="params" name="params">3. How to setup parameters </p>
<blockquote>
  <p>There are 3 ways to specify parameters: </p>
  <p><strong>1.</strong> Using flashvars attribute of &lt;object&gt; and &lt;embed&gt; tags. The same set of parameters should be specified in flashvars attribute &lt;object&gt; and &lt;embed&gt; tags. Check previous section (<a href="#includeApplet">2. How to include MultiPowUpload  on page</a>) to see an example. </p>
  <p><strong>2.</strong> If you use SWFObject to put MultiPowUpload on a page, you should set array of MultiPowUpload parameters in this way:</p>
  <p >//Here MultiPowUpload parameters should be specified <br />
    var flashvars = {<br />
&quot;uploadUrl&quot;: &quot;FileProcessingScripts/ASP.NET/CSharp/uploadfiles.aspx&quot;,<br />
&quot;useExternalInterface&quot;: &quot;true&quot; <br />
  }; </p>
  <p > swfobject.embedSWF(&quot;ElementITMultiPowUpload2.1.swf&quot;, &quot;MultiPowUpload_holder&quot;, &quot;450&quot;, &quot;350&quot;, &quot;9.0.0&quot;, &quot;expressInstall.swf&quot;, flashvars, params, attributes);</p>
  <p>&nbsp;</p>
  <p><strong>3.</strong> Using external xml file, specified with <a href="Parameters_function.html#externalVariablesUrl" name="externalVariablesUrl" id="externalVariablesUrl">externalVariablesUrl</a> parameter </p>
  <p>Example of xml file:</p>
  <p >&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</p>
  <p >&lt;MultiPowUpload_parameters&gt; <br />
    &lt;!--Example of external propetries file--&gt;<br />
    &lt;param name=&quot;sendTestRequest&quot;&gt;false&lt;/param&gt;<br />
    &lt;param name=&quot;removeButtonVisible&quot;&gt;false&lt;/param&gt;<br />
    &lt;param name=&quot;httpErrorCodeDescription_413&quot;&gt;Request Entity Too Large.&amp;lt;br&amp;gt;<br />
    For IIS servers: 1. Try to increase UploadReadAheadSize metabase property.&amp;lt;br&amp;gt;<br />
    2. Try to increase MaxRequestEntityAllowed property value in IIS config.&amp;lt;br&amp;gt;<br />
    For apache servers: Try to increase  LimitRequestBody  parameter in httpd.conf<br />
  &lt;/param&gt;<br />
  &lt;/MultiPowUpload_parameters&gt;</p>
  <p >&nbsp;</p>
  <p> <strong>4.</strong> Using JavaScript <a href="Methods.html#setParameter">setParameter</a> method.</p>
  <p>Example:</p>
  <p><code>MultiPowUpload.setParameter(&quot;uploadUrl&quot;,&quot;uploadfiles.php&quot;)</code>;  </p>
  <p>&nbsp;</p>
</blockquote>
<p class="topicLeft" id="javaScript" name="javaScript">4. How to use MultiPowUpload events and methods </p>
<blockquote>
  <p><strong>1. </strong>Set MultiPowUpload parameter <a href="Parameters_function.html#useExternalInterface">useExternalInterface </a>to true (false by default) . </p>
  <p><strong>3.</strong> Set MultiPowUpload parameter <a href="Parameters_function.html#javaScriptEventsPrefix" name="javaScriptEventsPrefix" id="javaScriptEventsPrefix">javaScriptEventsPrefix </a><a href="Parameters.html#Common.JavaScriptEventsPrefix"></a>to a necessary value (&quot;MultiPowUpload&quot; by default) . </p>
  <p>To use MultiPowUpload events, you should declare appropriate JavaScript functions. Function name format is<a href="Parameters_function.html#javaScriptEventsPrefix" name="javaScriptEventsPrefix" id="javaScriptEventsPrefix">javaScriptEventsPrefix</a>+'_'+eventName. List of all available MultiPowUpload events is available in <a href="Events.html">events section</a>. </p>
  <p>Example:</p>
  <pre>function MultiPowUpload_onAddFiles(addedFiles)
{
	window.alert(&quot;Now total files in list is &quot; + MultiPowUpload.getFiles().length+&quot;.  Count of added files is &quot;+addedFiles.length);
}</pre>
  <p>MultiPowUPload automatically initializes JavaScript object with the name specified in id and name attributes  of SWFObject or &lt;object&gt; and &lt;embed&gt; tags depending on publishing method. In other words you can use MultiPowUpload methods right after onMovieLoad event.  </p>
  <p>Example:</p>
  <pre>function MultiPowUpload_onMovieLoad()
{ 
		//Here and later you can use call MultiPowUpload methods like this;
  	MultiPowUpload.getFiles();
	    //Where MUltiPowUpload is id (and name) attributes of &lt;object&gt; and &lt;embed&gt; tags or the same attributes from SWFObject.<br />}</pre>
  <p><br />
If you put MultiPowUpload on page using   &lt;object&gt; and &lt;embed&gt; tags, you should set both  name and id attributes to the same value for correct initialization of MultiPowUpload JavaScript object. </p>
  <pre>  MultiPowUpload.sortFileList(&quot;SIZE&quot;, &quot;ASC&quot;);</pre>
  </p>
</blockquote>

 <p class="topicLeft" id="register" name="register">5. How to register MultiPowUpload?</p>
 <blockquote>
  <p>You can make MultiPowUpload trial to work as full by setting parameter <a href="Parameters_function.html#serialNumber">serialNumber </a>.
 </blockquote>
 <p class="topicLeft" id="hideserial" name="hideserial">6. How to hide my SerialNumber on a web page?</p>
 <blockquote>
 <!-- <p>If you set   <a href="Parameters_function.html#serialNumber">serialNumber</a><a href="Parameters_function.html#Common.SerialNumber"></a> parameter on web page, anyone can  view html source code and get your SerialNumber. We understand this situation  and recommend you to place SerialNumber in external xml file with properties.
&nbsp;Specify URL to this file by <a href="Parameters_function.html#externalVariablesUrl" name="externalVariablesUrl" id="externalVariablesUrl">externalVariablesUrl</a> parameter. <br />
Set some filters on web server which allow  access this xml file only if it is requested by FLASH (for example, filter by  user-agent header).<br/>-->
Starting from version 3.0, a single domain license will work only on the domain specified during the purchase, so even if someone gets your serial, MultiPowUpload will not function properly on other domain. 
</blockquote>
 <p class="topicLeft" id="redirect" name="redirect">7. How to redirect a user to another page when upload/download process is complete?</p>
<blockquote>
  <p>Specify the  parameter <a href="Parameters_function.html#redirectUploadUrl" target="main" onclick="clickAnchor(this)">redirectUploadUrl</a> to url of the page which should be loaded when  upload process is complete.  <br/>
MultiPowupload  post  information about upload process results to this page. MultiPowUpload sends following information about each file (#INDEX#
is index of file from 0 to count of files -1) : 
  <pre>MultiPowUploadFileSize_#INDEX#  - file size.
MultiPowUploadFileId_#INDEX# - file id.
MultiPowUploadFileDate_#INDEX# - file modification date.
MultiPowUploadFileName_#INDEX# - file name.
MultiPowUploadFileStatus_#INDEX# - file status. Check possible values <a href="ListItem.html#status" target="main" onclick="clickAnchor(this)">here</a>.
</pre>
  <p> 
</blockquote>
 <p class="topicLeft" id="result" name="result">8. How to upload thumbnails?</p>
 <blockquote>
  <p>To enable  file thumbnail upload feature, set <a href="Parameters_function.html#sendThumbnails" target="main" onclick="clickAnchor(this)">sendThumbnails</a><a href="Parameters_function.html#Upload.Thumbnails.Upload"></a> to true. <br />
Specify <a href="Parameters_function.html#thumbnail.width" target="main" onclick="clickAnchor(this)">thumbnail.width</a><a href="Parameters_function.html#Upload.Thumbnails.Height"></a> and  <a href="Parameters_function.html#thumbnail.height" target="main" onclick="clickAnchor(this)">thumbnail.height</a><a href="Parameters_function.html#Upload.Thumbnails.Width"></a> parameters to necessary values.<br />
If you need to upload original  image, set <a href="Parameters_function.html#sendOriginalImages" target="main" onclick="clickAnchor(this)">sendOriginalImages</a><a href="Parameters_function.html#Upload.Thumbnails.UploadOriginalFile"></a> to true.<br />
MultiPowUpload supports the following  image formats for thumbnail generation: JPG (by default) , PNG.<br />
You can change thumbnail format specifying  <a href="Parameters_function.html#thumbnail.format" target="main" onclick="clickAnchor(this)">thumbnail.format</a><a href="Parameters_function.html#Upload.Thumbnails.Format"></a> parameter.
 </blockquote>
 <p class="topicLeft" id="custominfo" name="custominfo">9. How to send additional information to server?</p>
 <blockquote>
  You can  send additional information in several ways:<br />
  <ul>
 <li>
a. Add info  to <a href="Parameters_function.html#uploadUrl" target="main" onclick="clickAnchor(this)">uploadUrl</a> property.<br />
For example: <br />
<code>&quot;uploadUrl&quot;: &quot;uploadfiles.php?paramname1=value1&amp;paramname2=value2&quot;</code></li><li>
  b. Specify  <a href="Parameters_function.html#formName" target="main" onclick="clickAnchor(this)">formName</a> property.<br />
In this case you can add a form to your  html page and MultiPowUpload will automatically add form values to HTTP request.<br />
<br />
</li><li>
    c. Specify  <a href="Parameters_function.html#customPostFields" target="main" onclick="clickAnchor(this)">customPostFields</a> property.<br />
Array of custom fields and values that  will be added to the request separated by | <br />
Example: <br />
<code>filedName1;value1|FieldName2;value2</code>
</li>
<li>
  d. Use  JavaScript <a target="main" onclick="clickAnchor(this)" href="Methods.html#addPostField">addPostField(String name, String value)</a> method.<br />
It adds &ldquo;name&ndash;value&rdquo; pair to the  list that will be sent as text Form items with all files. 
<p>Example:<br />
<code>MultiPowUpload.addPostField(&quot;Username&quot;,&quot;JDoe&quot;);</code></p>
</li>

<li>
  e. Use  JavaScript <a target="main" onclick="clickAnchor(this)" href="Methods.html#addFilePostField">addFilePostField(Stgring fileId,String name, String value)</a> method.<br />
It adds &ldquo;name&ndash;value&rdquo; pair to the list that will be sent as text Form items with a specified file. 
<p>Example:<br />
<code>MultiPowUpload.addFilePostField(file.id, &quot;Username&quot;,&quot;JDoe&quot;);</code></p>
</li>
</ul>

</blockquote>

</body>
</html>